using System;
using FluentIoC.Interfaces;

namespace FluentIoC
{
    internal static class Debug
    {
        public static void FilteredInvalidType(Type type, ConventionInvalidReason reason)
        {
            System.Diagnostics.Debug.WriteLine(
                string.Format(
                    "The type {0} was removed because it was an invalid {1} type",
                    type.Name,
                    reason.ToString().Replace("Invalid", string.Empty).ToLower()
                )
            );
        }
    }
}